package ${thisPackage}.dao;

import ${thisPackage}.domain.${javaBeanName};
import org.springframework.stereotype.Repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * auto generate by wencst
 * @author ${author}
 * @since ${.now}
 */
 
@Repository
<#list columns as col>
	<#if col.primaryKey>
public interface ${javaBeanName}Dao extends JpaRepository<${javaBeanName}, ${col.javaType}>,JpaSpecificationExecutor<${javaBeanName}>{
	<#break>
	</#if>
</#list>
}